import 'package:flutter/material.dart';
import 'package:flutterdemo/widgets/video/video_player_ui.dart';

class VideoPage extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return _VideoPage();
  }
}

class _VideoPage extends State<VideoPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: VideoPlayerUI.asset(dataSource: 'assets/video1.mp4'),
      ),
    );
  }
}
